import axios from "../utils/request";
import base from "./base";

const http = {
    Login(params) {//登录
        return axios.post(base.baseUrl + base.login, params);
    },
    cav(params) {//修改订单状态
        return axios.get(base.baseUrl + base.ordercav, params);
    },
    orderlist(params) {//订单列表
        return axios.get(base.baseUrl + base.orderlist, params);
    },
    shipment(params) {//订单列表
        return axios.get(base.baseUrl + base.shipment, params);
    },
    untorder(params) {//订单列表
        return axios.get(base.baseUrl + base.untorder, params);
    },
    test(params) {
        return axios.get(base.baseUrl + base.test, params)
    }
}
export default http